package com.wing.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.product.model.entity.WarehouseStorageOrder;
import com.wing.product.model.request.WarehouseFinshedProductStorageOrderForm;
import com.wing.product.model.request.WarehouseStorageOrderForm;
import com.wing.product.model.response.WarehouseStorageOrderVO;

import java.util.List;
import java.util.Map;

public interface WarehouseStorageOrderService extends IService<WarehouseStorageOrder> {

    Page<WarehouseStorageOrderVO> pageList4app(Page page, Map<String, Object> params);
    Page<WarehouseStorageOrderVO> pageList4appTwo(Page page, Map<String, Object> params);

    JsonResult saveWarehouseStorageRecord(WarehouseStorageOrderForm warehouseStorageOrderForm);

    WarehouseStorageOrderVO selectStorageRecordDetail(String id);


    WarehouseStorageOrderVO findFactoryByUserBundleCode(String userBundleCode);

    List<WarehouseStorageOrderVO>  findSign();

    JsonResult save(WarehouseStorageOrderForm warehouseStorageOrderForm);

    JsonResult saveWarehouseFinshedProductStorageRecord(WarehouseFinshedProductStorageOrderForm warehouseFinshedProductStorageOrderForm);


    WarehouseStorageOrderVO info(String id);
}
